--[[
 -- *名称:SysInfoPart
 -- *描述:[XXXXXXXXX]
 -- *版权:Copyright © 2016-2018 深圳市三只小熊科技有限公司 版权所有
 -- *作者:Terry
 -- *创建日期:2017-09-26
 -- *修改日期:2017-09-26
 ]]
local CURRENT_MODULE_NAME = ...
local SysInfoPart = class("SysInfoPart",PokerPartBase) --登录模块
SysInfoPart.DEFAULT_PART = {
	 "WifiAndNetPart"
}
SysInfoPart.DEFAULT_VIEW = "sysinfolayer"

---
 -- [ctor 默认part构造方法]
 -- @DateTime 2017-09-20
 -- @param    owner [description]
 -- @param    data [description]
 -- @return    [description]
 --
function SysInfoPart:ctor(owner, data)
    SysInfoPart.super.ctor(self, owner, data)
    self._data = data;
end


---
 -- [activate 默认激活该part调用方法]
 -- @DateTime 2017-09-20
 -- @param    data [description]
 -- @return    [description]
 --
function SysInfoPart:activate(data)
	SysInfoPart.super.activate(self,CURRENT_MODULE_NAME)
	local wifi_and_net = self:getPart("WifiAndNetPart")
    if wifi_and_net then
    	wifi_and_net:activate(DdzGameConfig.GAME_ID, self:doView("getWifiNetNode"));
    end	

end

---
 -- [deactivate 销毁该part调用方法]
 -- @DateTime 2017-09-20
 -- @return   [description]
 --
function SysInfoPart:deactivate()
    SysInfoPart.super.deactivate(self)
end

---
 -- [getPartId 获取该part的partId]
 -- @DateTime 2017-09-20
 -- @return   [description]
 --
function SysInfoPart:getPartId()
	-- body
	return "SysInfoPart"
end

return SysInfoPart 